package com.jingyuan.common.entity;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

@Setter
@Getter
public class ServerMessage implements Serializable {
    private HostInfo host;
    private List<HostInfo> onlinehHostList;
    private String msg; //响应消息
    /**
     * 用于主机上线时通知此主机是否是Master节点
     */
    private boolean isMaster;
    private int serverMessageType;   //响应的报文类型
}
